//
//  loginVC.m
//  CareLink
//
//  Created by clinging on 16/8/19.
//  Copyright © 2016年 Seven Team. All rights reserved.
//

#import "loginVC.h"
#import "AppDelegate.h"
#import "Masonry.h"
@interface loginVC ()<UIScrollViewDelegate>


@end

@implementation loginVC

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

-(void)goBackToMainPage
{
    
    [self.navigationController popViewControllerAnimated: YES];
}
-(void)setUpUI
{
    //设置左边导航栏按钮
    self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc]initWithBarButtonSystemItem:UIBarButtonSystemItemReply target:self action:@selector(goBackToMainPage)];
    
    
    
    
    
    
    
}


//结束通知
-(void)dealloc{
    
    [[NSNotificationCenter defaultCenter] removeObserver:self name:UITextFieldTextDidChangeNotification object:nil];
}
-(void)scrollViewWillBeginDragging:(UIScrollView *)scrollView{
    
    [self.view endEditing:YES];
}
- (void)viewDidAppear:(BOOL)animated {
    [super viewDidAppear:animated];
    
    
}




@end
